package com.bocloud.kong.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Date;

/**
 * Created by Administrator on 2017/3/17.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Target extends BaseModel {
    private static final long serialVersionUID = 6123025232681205469L;

    private String id;
    private Date created_at;
    private String upstream_id;
    private String target;
    private Integer weight;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreated_at() {
        return created_at;
    }

    public void setCreated_at(Date created_at) {
        this.created_at = created_at;
    }

    public String getUpstream_id() {
        return upstream_id;
    }

    public void setUpstream_id(String upstream_id) {
        this.upstream_id = upstream_id;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}
